<template>
   <el-tag v-if="scopes.row.level == 0 ">一级</el-tag>
				<el-tag type="success" v-else-if="scopes.row.level == 1">二级</el-tag>
				<el-tag type="warning" v-else>三级</el-tag>
</template>

<script>
export default {
    name:'Tag',
    props:['scopes']
}
</script>

<style>
.cell{
    text-align: center;
}
</style>